import React from 'react'
import Link from 'next/link'
import Router from 'next/router'

const Index = () => {

  return (
    <div>
      <div>Home</div>
      <div>
        <Link href="/home?name=home">
          <a>
            goto Home
          </a>
        </Link>
      </div>
      <div>
        <Link href="/login?name=login">
          <a>
            goto Login
          </a>
        </Link>
      </div>
    </div>
  )
}

export default Index